package ufrr.editora.dao;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;


public class JPAUtil {

	private static EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("editora");

	public EntityManager getEntityManager() {
		return entityManagerFactory.createEntityManager();
	}

}
